package cn.yili12.business.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * 聊天记录
 */
@Entity
@Table(name = "chat_friend")
@Data
public class FriendDb {
    @Id
    private Long id;
    @Column(name = "user_id")
    private Long userId;
    @Column(name = "friend_id")
    private Long friendId;
    private Date addTime;
    private Date updateTime;
}
